import request from './request';

// 获取概览数据
export function getOverview() {
  return request({
    url: '/statistics/overview',
    method: 'get'
  });
}

// 获取每日预约人数统计
export function getDailyReservations(days = 7) {
  return request({
    url: '/statistics/daily-reservations',
    method: 'get',
    params: { days }
  });
}

// 获取热门参观日期分析
export function getPopularDates() {
  return request({
    url: '/statistics/popular-dates',
    method: 'get'
  });
}

// 获取用户增长趋势
export function getUserGrowth(months = 6) {
  return request({
    url: '/statistics/user-growth',
    method: 'get',
    params: { months }
  });
}

// 获取博物馆信息
export function getMuseumInfo() {
  return request({
    url: '/statistics/museum-info',
    method: 'get'
  });
}

// 获取展览热度分析
export function getExhibitionPopularity() {
  return request({
    url: '/statistics/exhibition-popularity',
    method: 'get'
  });
} 